package cn.abellflower.flower.home.serice.feign.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author gbzdyf@126.com
 * @create 2018-07-19 20:25
 **/
@FeignClient(value = "service-hi")
public interface SchedulerServiceHome {

    /**
     * 转发
     * @param name
     * @return
     */
    @RequestMapping(value = "/index",method = RequestMethod.GET)
    String index(@RequestParam(value = "name") String name);
}
